package com.zg.ktcomwan.model

import com.squareup.moshi.JsonClass

/***
 * @Author:      zxd
 * @CreateDate:  2021/6/2 14:52
 * @Description: 这里不能直接转换成
 */
@JsonClass(generateAdapter = true)
data class ArticleBean(
    var apkLink: String = "",
    var audit: Int = 0,
    var author: String = "",
    var canEdit: Boolean = false,
    var chapterId: Int = 0,
    var chapterName: String = "",
    var collect: Boolean = false,
    var courseId: Int = 0,
    var desc: String = "",
    var descMd: String = "",
    var envelopePic: String = "",
    var fresh: Boolean = false,
    var host: String = "",
    var id: Int = 0,
    var link: String = "",
    var niceDate: String = "",
    var niceShareDate: String = "",
    var origin: String = "",
    var prefix: String = "",
    var projectLink: String = "",
    var realSuperChapterId: Int = 0,
    var selfVisible: Int = 0,
    var shareDate: Long = 0,
    var shareUser: String = "",
    var superChapterId: Int = 0,
    var superChapterName: String = "",
    var publishTime: Long = 0,
    var title: String = "",
    var type: Int = 0,
    var userId: Int = 0,
    var visible: Int = 1,
    var zan: Int = 0,
    var tags: List<TagBean>
)
@JsonClass(generateAdapter = true)
data class TagBean(
    var name: String,
    var url: String
)